package mr

type Set map[string]bool

func Union(sets ...Set) Set {
	totSet := make(Set)
	for _, set := range sets {
		for key, _ := range set {
			totSet[key] = true
		}
	}

	return (totSet)
}
